package cn.tedu.yl.role.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class RoleListQuery {
    @ApiModelProperty(value = "角色名称")
    private String name;
    @ApiModelProperty(value = "每页记录数")
    @NotNull(message = "每页记录数不能为空")
    private Integer pageSize;
    @ApiModelProperty(value = "页码")
    @NotNull(message = "页码不能为空")
    private Integer pageNum;
}
